Package com.cisco.pt.ipc.sim
Interface TcpProcess
- All Known Implementing Classes:
TcpProcessImpl
Information provided by the PKI file:
\class TcpProcess
\brief TcpProcess handles and manipulates the TCP process.
\example network().getDevice("Router0").getProcess("TcpProcess")
- Author:
- Auto-generated
-
Method Summary
Modifier and TypeMethodDescriptionintInformation provided by the PKI file:Information provided by the PKI file:intInformation provided by the PKI file:booleanInformation provided by the PKI file:listen(int port, boolean requestNotify) Information provided by the PKI file:voidsetNagleEnabled(boolean val) Information provided by the PKI file:voidsetNagleWaitingInterval(int interval) Information provided by the PKI file:voidsetUserDefinedMSS(Short mss) Information provided by the PKI file:Methods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Method Details
-
getUserDefinedMSS
Short getUserDefinedMSS()Information provided by the PKI file:
\brief Returns the maximum segment size value. \return short, the maximum segment size value.- Returns:
- Short Returns a Short
-
setUserDefinedMSS
Information provided by the PKI file:
\brief Sets the maximum segment size value. \param short, the maximum segment size value.- Parameters:
mss- Takes in a parameter of mss
-
getUserDefinedWindowSize
int getUserDefinedWindowSize()Information provided by the PKI file:
\brief Returns the window size. \return int, the window size.- Returns:
- int Returns a int
-
isNagleEnabled
boolean isNagleEnabled()Information provided by the PKI file:
\brief Returns true if Nagle's algorithm is enabled, otherwise false. \return bool, true if Nagle's algorithm is enabled, otherwise false.- Returns:
- boolean Returns a boolean
-
setNagleEnabled
void setNagleEnabled(boolean val) Information provided by the PKI file:
\brief Enables or disables Nagle's algorithm. \param val, true to enable Nagle's algorithm, false to disable it.- Parameters:
val- Takes in a parameter of val
-
getNagleWaitingInterval
int getNagleWaitingInterval()Information provided by the PKI file:
\brief Returns Nagle's algorithm waiting interval. \return int, Nagle's algorithm waiting interval.- Returns:
- int Returns a int
-
setNagleWaitingInterval
void setNagleWaitingInterval(int interval) Information provided by the PKI file:
\brief Sets Nagle's algorithm waiting interval. \param interval, Nagle's algorithm waiting interval.- Parameters:
interval- Takes in a parameter of interval
-
listen
Information provided by the PKI file:
\brief Start a tcp connection that listens \param port, port number at which the tcp connection listens at \param requestNotify, true if a notify is requested or false if it's not \return CustomTcpProcess, CustomTcpProcess object- Parameters:
port- Takes in a parameter of portrequestNotify- Takes in a parameter of requestNotify- Returns:
- CustomTcpProcess Returns a CustomTcpProcess
-